<template>
  <div class="home">
    -----------------
    {{cityName}}
    =================
  </div>
</template>

<script>
import { mapState } from 'vuex'
// @ is an alias to /src
import HelloWorld from '@/components/HelloWorld.vue'

export default {
  name: 'HomeView',
  components: {
    HelloWorld
  },
  computed:{
    ...mapState(['cityName'])
  }
}
</script>
